Reworked how master fragment width is calculated in slidingpane to improve UI on large tablets

This commit is contained in:
Sylvain Berfini 2022-04-12 11:58:20 +02:00
parent 4c83e823fc
commit b90ce37ff0
7 changed files with 13 additions and 4 deletions

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="master_fragment_width">500dp</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="master_fragment_width">300dp</dimen>
</resources>

View file

@ -64,4 +64,5 @@
<dimen name="voip_conference_audio_only_participant_cell_height">60dp</dimen>
<dimen name="voip_conference_audio_only_participant_avatar_size">40dp</dimen>
<dimen name="conference_schedule_form_field_border_thickness">1dp</dimen>
<dimen name="master_fragment_width">280dp</dimen>
</resources>