0
Android PreferenceScreen疊加工具欄。 我試圖使用填充和邊距來設置 工具欄下的首選項屏幕,但沒有任何成功。Android PreferenceScreen疊加工具欄
注意:使用ActionBar更改工具欄後,按預期工作。
請任何幫助。
感謝, Hrach
Android PreferenceScreen疊加工具欄。 我試圖使用填充和邊距來設置 工具欄下的首選項屏幕,但沒有任何成功。Android PreferenceScreen疊加工具欄
注意:使用ActionBar更改工具欄後,按預期工作。
請任何幫助。
感謝, Hrach
我剛纔解決問題:
下面是代碼:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/app_toolbar"
android:id="@+id/app_toolbar" />
<FrameLayout
android:id="@+id/pref_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/app_toolbar" />
<!-- The main content view -->
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?attr/actionBarSize"/>
</RelativeLayout>
添加拳頭後的FrameLayout問題得到解決。
感謝
請張貼任何截圖/ XML代碼,使我們得到更好的理解 –
謝謝,我感謝你的幫助。我已經解決了這個問題並且發佈了它。 –