mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Reworked how master fragment width is calculated in slidingpane to improve UI on large tablets
This commit is contained in:
parent
0da5d6d157
commit
a3ce95f6f5
7 changed files with 13 additions and 4 deletions
|
|
@ -32,7 +32,7 @@
|
|||
tools:context=".MainActivity">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="280dp"
|
||||
android:layout_width="@dimen/master_fragment_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start">
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
tools:context=".MainActivity">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="280dp"
|
||||
android:layout_width="@dimen/master_fragment_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start">
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
tools:context=".MainActivity">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="280dp"
|
||||
android:layout_width="@dimen/master_fragment_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start">
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
tools:context=".MainActivity">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="280dp"
|
||||
android:layout_width="@dimen/master_fragment_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start">
|
||||
|
||||
|
|
|
|||
4
app/src/main/res/values-w1280dp/dimen.xml
Normal file
4
app/src/main/res/values-w1280dp/dimen.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="master_fragment_width">500dp</dimen>
|
||||
</resources>
|
||||
4
app/src/main/res/values-w600dp/dimen.xml
Normal file
4
app/src/main/res/values-w600dp/dimen.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="master_fragment_width">300dp</dimen>
|
||||
</resources>
|
||||
|
|
@ -38,4 +38,5 @@
|
|||
<dimen name="setting_subtitle_min_size">8sp</dimen>
|
||||
<dimen name="setting_subtitle_max_size">14sp</dimen>
|
||||
<dimen name="settings_granularity_step">1sp</dimen>
|
||||
<dimen name="master_fragment_width">280dp</dimen>
|
||||
</resources>
|
||||
Loading…
Add table
Reference in a new issue