This commit is contained in:
Moez Bhatti
2017-12-19 15:43:12 -05:00
9 changed files with 92 additions and 39 deletions
+34 -21
View File
@@ -3,36 +3,49 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical"
tools:parentTag="com.moez.QKSMS.presentation.common.widget.PreferenceView">
<LinearLayout
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:padding="16dp">
android:baselineAligned="false"
android:gravity="center_vertical"
android:orientation="horizontal">
<com.moez.QKSMS.presentation.common.widget.QkTextView
android:id="@+id/titleView"
style="@style/TextPrimary"
android:layout_width="match_parent"
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:text="Default SMS App" />
android:layout_weight="1"
android:orientation="vertical"
android:padding="16dp">
<com.moez.QKSMS.presentation.common.widget.QkTextView
android:id="@+id/summaryView"
style="@style/TextSecondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="QKSMS is your default SMS app" />
<com.moez.QKSMS.presentation.common.widget.QkTextView
android:id="@+id/titleView"
style="@style/TextPrimary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Default SMS App" />
<com.moez.QKSMS.presentation.common.widget.QkTextView
android:id="@+id/summaryView"
style="@style/TextSecondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="QKSMS is your default SMS app" />
</LinearLayout>
<FrameLayout
android:id="@+id/widgetFrame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp" />
</LinearLayout>
<FrameLayout
android:id="@+id/widgetFrame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp" />
<com.moez.QKSMS.presentation.common.widget.Separator
android:layout_width="match_parent"
android:layout_height="1dp" />
</merge>
@@ -50,6 +50,12 @@
app:title="@string/settings_auto_emoji_title"
app:widget="@layout/settings_switch_widget" />
<com.moez.QKSMS.presentation.common.widget.PreferenceView
android:id="@+id/notificationsO"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title="@string/settings_notifications_title" />
<com.moez.QKSMS.presentation.common.widget.PreferenceView
android:id="@+id/notifications"
android:layout_width="match_parent"