Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright 2014 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 
     18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19               android:layout_width="match_parent"
     20               android:layout_height="match_parent"
     21               android:orientation="vertical">
     22 
     23     <TextView
     24         android:id="@+id/visibility_metadata_notification_description"
     25         android:layout_width="wrap_content"
     26         android:layout_height="wrap_content"
     27         android:text="@string/visibility_metadata_description"
     28         />
     29 
     30     <RadioGroup
     31         android:id="@+id/visibility_radio_group"
     32         android:layout_width="wrap_content"
     33         android:layout_height="wrap_content"
     34         android:checkedButton="@+id/visibility_public_radio_button"
     35         android:layout_marginTop="20dp">
     36 
     37         <RadioButton
     38             android:id="@+id/visibility_public_radio_button"
     39             android:layout_width="wrap_content"
     40             android:layout_height="wrap_content"
     41             android:drawableLeft="@drawable/ic_public"
     42             android:text="@string/visibility_public"
     43             />
     44 
     45         <RadioButton
     46             android:id="@+id/visibility_private_radio_button"
     47             android:layout_width="wrap_content"
     48             android:layout_height="wrap_content"
     49             android:drawableLeft="@drawable/ic_private"
     50             android:text="@string/visibility_private"
     51             />
     52 
     53         <RadioButton
     54             android:id="@+id/visibility_secret_radio_button"
     55             android:layout_width="wrap_content"
     56             android:layout_height="wrap_content"
     57             android:drawableLeft="@drawable/ic_secret"
     58             android:text="@string/visibility_secret"
     59             />
     60 
     61     </RadioGroup>
     62 
     63     <Button
     64         android:id="@+id/show_notification_button"
     65         android:layout_width="wrap_content"
     66         android:layout_height="wrap_content"
     67         android:layout_alignParentBottom="true"
     68         android:layout_marginTop="20dp"
     69         android:text="@string/show_notification"
     70         />
     71 </LinearLayout>