|
|
|
@ -1,17 +1,9 @@ |
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
tools:parentTag="android.widget.LinearLayout"> |
|
|
|
|
|
|
|
|
|
<RadioGroup |
|
|
|
|
android:id="@+id/visibilityRadioGroup" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="@dimen/compose_options_margin" |
|
|
|
|
android:layout_marginLeft="@dimen/compose_options_margin" |
|
|
|
|
android:layout_marginRight="@dimen/compose_options_margin" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
tools:layout_height="wrap_content" |
|
|
|
|
tools:layout_width="match_parent" |
|
|
|
|
tools:parentTag="RadioGroup"> |
|
|
|
|
|
|
|
|
|
<RadioButton |
|
|
|
|
android:id="@+id/publicRadioButton" |
|
|
|
@ -19,8 +11,9 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:button="@drawable/ic_public_24dp" |
|
|
|
|
android:paddingStart="10dp" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:text="@string/visibility_public" |
|
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
app:buttonTint="@color/compound_button_color" /> |
|
|
|
@ -29,11 +22,12 @@ |
|
|
|
|
android:id="@+id/unlistedRadioButton" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:button="@drawable/ic_lock_open_24dp" |
|
|
|
|
android:paddingStart="10dp" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:text="@string/visibility_unlisted" |
|
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
app:buttonTint="@color/compound_button_color" /> |
|
|
|
@ -42,11 +36,12 @@ |
|
|
|
|
android:id="@+id/privateRadioButton" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:button="@drawable/ic_lock_outline_24dp" |
|
|
|
|
android:paddingStart="10dp" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:text="@string/visibility_private" |
|
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
app:buttonTint="@color/compound_button_color" /> |
|
|
|
@ -57,12 +52,11 @@ |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:button="@drawable/ic_email_24dp" |
|
|
|
|
android:paddingStart="10dp" |
|
|
|
|
android:paddingEnd="0dp" |
|
|
|
|
android:text="@string/visibility_direct" |
|
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
app:buttonTint="@color/compound_button_color" /> |
|
|
|
|
|
|
|
|
|
</RadioGroup> |
|
|
|
|
|
|
|
|
|
</merge> |