Skip to content

Instantly share code, notes, and snippets.

@AmandaRiu
Created August 31, 2018 21:15
Show Gist options
  • Save AmandaRiu/56698187f0b6a9b5ece36b1ced98d060 to your computer and use it in GitHub Desktop.
Save AmandaRiu/56698187f0b6a9b5ece36b1ced98d060 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true">
<TextView
android:id="@+id/switchSetting_title"
style="@android:style/TextAppearance.DeviceDefault.Large"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:textAlignment="viewStart"
android:importantForAccessibility="no"
tools:text="Email note to customer"/>
<Switch
android:id="@+id/switchSetting_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:importantForAccessibility="no"
android:clickable="false"
tools:text="If disabled will add the note as private"/>
</merge>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment