Панель инструментов Navigation Drawer не отображается, когда отображается активность профиляAndroid

Форум для тех, кто программирует под Android
Ответить
Гость
 Панель инструментов Navigation Drawer не отображается, когда отображается активность профиля

Сообщение Гость »


My question is that my navigation drawer toolbar hides behind the decoration of the profile activity. i looked through question like that and the only possible solutions i got were to change constraint layout to linear layout but without the constraints, i dont know how the inverted curved rectangle will hold up. Please help! profileActivity.xml `
my content layout file with shares layout on multiple pages from the navigation drawer : `
`

my drawer_base activity `
profile activity.java `
package com.example.login_page_simple;

Код: Выделить всё

 import java.io.File;  import java.io.IOException;  import java.io.InputStream;  import java.net.HttpURLConnection;  import java.net.URL; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; //earlier it was public class ProfileActivity extends drawerbaseactivity public class ProfileActivity extends DrawerBaseActivity{ ActivityProfileBinding activityProfileBinding; TextView etRole, etEmail, etExId, etAdId, etName, etMob; ImageView imageView; SharedPrefMANAGER sharedPrefMANAGER; @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     activityProfileBinding = ActivityProfileBinding.inflate(getLayoutInflater());     allocateActivityTitle("Profile");     setContentView(activityProfileBinding.getRoot());     etName = findViewById(R.id.nmTxt);     etMob = findViewById(R.id.mobileTxt);   //etRole= findViewById(R.id.roleTxt);     etEmail = findViewById(R.id.emText);     //etExId=findViewById(R.id.exIdTxt);     //etAdId=findViewById(R.id.adminTxt);     imageView = findViewById(R.id.Pic);     sharedPrefMANAGER = new SharedPrefMANAGER(getApplicationContext());     etName.setText(sharedPrefMANAGER.getObj().getName());     etMob.setText(sharedPrefMANAGER.getObj().getMobile());     //etRole.setText(sharedPrefMANAGER.getObj().getRole());     etEmail.setText(sharedPrefMANAGER.getObj().getEmail());     //etExId.setText(sharedPrefMANAGER.getObj().getExam_id());     //etAdId.setText(sharedPrefMANAGER.getObj().getAdmin_id());          });` 


Источник: https://stackoverflow.com/questions/781 ... y-shows-up
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»