Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dde458c0 authored by Jan Nordqvist's avatar Jan Nordqvist
Browse files

Fixed "Primary data" text style and rearranged UI vertically.

Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I5848f8b499aaac911c61860aa1471c9d391614bb
parent 767743d6
Loading
Loading
Loading
Loading
+25 −22
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="24dp"
    android:paddingTop="22dp"
    android:paddingBottom="32dp"
    android:paddingStart="@dimen/preference_no_icon_padding_start"
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
@@ -31,8 +31,7 @@
        android:id="@+id/usage_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceListItemSecondary"
        android:textColor="?android:attr/textColorSecondary"
        android:textColor="?android:attr/colorAccent"
        android:text="@string/data_usage_title" />

    <LinearLayout
@@ -40,7 +39,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="12dp"
        android:paddingBottom="4dp"
        android:orientation="horizontal">

        <TextView android:id="@+id/data_usage_view"
@@ -76,7 +74,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="4dp"
        android:paddingBottom="8dp"
        android:orientation="horizontal">

        <TextView android:id="@android:id/text1"
@@ -98,9 +95,20 @@

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="12dp"
        android:orientation="vertical">

        <TextView
            android:id="@+id/data_limits"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="?android:attr/textColorSecondary" />

        <TextView
            android:id="@+id/cycle_left_time"
        android:paddingTop="4dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

@@ -109,21 +117,16 @@
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

    </LinearLayout>

    <Button
        android:id="@+id/launch_mdp_app_button"
        android:paddingTop="12dp"
        android:layout_marginTop="12dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="left"
        android:layout_gravity="start"
        android:text="@string/launch_mdp_app_text"
        style="@style/ActionPrimaryButton" />

    <TextView
        android:id="@+id/data_limits"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingBottom="5dp"
        android:textColor="?android:attr/textColorSecondary" />

</LinearLayout>
+1 −1
Original line number Diff line number Diff line
@@ -8783,7 +8783,7 @@
    <string name="no_carrier_update_text">Updated <xliff:g name="time" example="3m">%1$s</xliff:g></string>
    <!-- Button to launch external data plan app [CHAR LIMIT=30] -->
    <string name="launch_mdp_app_text">VIEW PLAN</string>
    <string name="launch_mdp_app_text">View plan</string>
    <!-- Name of Data Saver screens [CHAR LIMIT=30] -->
    <string name="data_saver_title">Data saver</string>