Merge pull request #203 from jonathan-caryl/content_description

Content description
This commit is contained in:
Tibor Kaputa 2017-08-13 09:15:13 +02:00 committed by GitHub
commit 3f06fd20b3
10 changed files with 40 additions and 21 deletions

View File

@ -2,6 +2,7 @@
<ScrollView
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"
android:id="@+id/event_scrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -51,6 +52,7 @@
android:layout_below="@+id/event_description"
android:layout_marginBottom="@dimen/normal_margin"
android:layout_marginTop="@dimen/activity_margin"
android:importantForAccessibility="no"
android:background="@color/darker_divider"/>
<ImageView
@ -97,7 +99,7 @@
android:paddingEnd="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="January 1 1970"
tools:text="January 1 1970"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -109,7 +111,7 @@
android:layout_below="@+id/event_time_image"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin"
android:text="00:00"
tools:text="00:00"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -124,7 +126,7 @@
android:paddingEnd="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="January 1 1970"
tools:text="January 1 1970"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -136,7 +138,7 @@
android:layout_below="@+id/event_start_time"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin"
android:text="00:00"
tools:text="00:00"
android:textSize="@dimen/day_text_size"/>
<ImageView
@ -146,6 +148,7 @@
android:layout_below="@+id/event_end_date"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin"
android:importantForAccessibility="no"
android:background="@color/darker_divider"/>
<ImageView
@ -212,6 +215,7 @@
android:layout_below="@+id/event_reminder_3"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin"
android:importantForAccessibility="no"
android:background="@color/darker_divider"/>
<ImageView
@ -319,6 +323,7 @@
android:layout_below="@+id/event_repetition_limit_holder"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin"
android:importantForAccessibility="no"
android:background="@color/darker_divider"/>
<ImageView

View File

@ -23,6 +23,7 @@
android:id="@+id/week_view_hours_divider"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAccessibility="no"
android:layout_alignRight="@+id/week_view_hours_scrollview"
android:background="@drawable/stroke_bottom_right"/>

View File

@ -236,6 +236,7 @@
<ImageView
android:id="@+id/weekly_view_divider"
android:importantForAccessibility="no"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/divider_strong"/>
@ -326,6 +327,7 @@
android:id="@+id/monthly_view_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:importantForAccessibility="no"
android:background="@color/divider_strong"/>
<com.simplemobiletools.commons.views.MyTextView
@ -365,6 +367,7 @@
android:id="@+id/events_list_view_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:importantForAccessibility="no"
android:background="@color/divider_strong"/>
<com.simplemobiletools.commons.views.MyTextView
@ -418,6 +421,7 @@
android:id="@+id/widgets_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:importantForAccessibility="no"
android:background="@color/divider_strong"/>
<com.simplemobiletools.commons.views.MyTextView

View File

@ -65,6 +65,7 @@
<ImageView
android:id="@+id/export_events_divider"
android:importantForAccessibility="no"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_marginBottom="@dimen/medium_margin"

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/dialog_repeat_type_picker_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -25,7 +26,7 @@
android:layout_marginStart="@dimen/repeat_type_margin_start"
android:paddingBottom="@dimen/normal_margin"
android:paddingTop="@dimen/medium_margin"
android:text="January 1 1970"/>
tools:text="January 1 1970"/>
<com.simplemobiletools.commons.views.MyCompatRadioButton
android:id="@+id/repeat_type_x_times"

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/event_item_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -18,7 +19,7 @@
android:id="@+id/event_item_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="13:00"
tools:text="13:00"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -26,7 +27,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/event_item_start"
android:text="15:00"
tools:text="15:00"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -38,7 +39,7 @@
android:ellipsize="end"
android:maxLines="1"
android:paddingRight="@dimen/activity_margin"
android:text="Event title"
tools:text="Event title"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -52,7 +53,7 @@
android:ellipsize="end"
android:maxLines="1"
android:paddingRight="@dimen/activity_margin"
android:text="Event description"
tools:text="Event description"
android:textSize="@dimen/day_text_size"/>
</RelativeLayout>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/event_item_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -21,7 +22,7 @@
android:id="@+id/event_item_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="13:00"
tools:text="13:00"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -29,7 +30,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/event_item_start"
android:text="15:00"
tools:text="15:00"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -40,7 +41,7 @@
android:layout_toRightOf="@+id/event_item_start"
android:ellipsize="end"
android:maxLines="1"
android:text="Event title"
tools:text="Event title"
android:textSize="@dimen/day_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
@ -53,7 +54,7 @@
android:alpha=".4"
android:ellipsize="end"
android:maxLines="1"
android:text="Event description"
tools:text="Event description"
android:textSize="@dimen/day_text_size"/>
</RelativeLayout>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/event_item_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@ -10,7 +11,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_margin"
android:text="13:00"
tools:text="13:00"
android:textSize="@dimen/day_text_size"/>
<TextView
@ -19,7 +20,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/event_item_start"
android:layout_marginLeft="@dimen/activity_margin"
android:text="15:00"
tools:text="15:00"
android:textSize="@dimen/day_text_size"/>
<TextView
@ -31,7 +32,7 @@
android:ellipsize="end"
android:maxLines="1"
android:paddingRight="@dimen/activity_margin"
android:text="Event title"
tools:text="Event title"
android:textSize="@dimen/day_text_size"/>
<TextView
@ -45,7 +46,7 @@
android:ellipsize="end"
android:maxLines="1"
android:paddingRight="@dimen/activity_margin"
android:text="Event description"
tools:text="Event description"
android:textSize="@dimen/day_text_size"/>
</RelativeLayout>

View File

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:layout_weight="1"
android:orientation="horizontal">
@ -12,8 +13,9 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="#"
android:visibility="gone"/>
tools:text="#"
android:visibility="gone"
tools:visibility="visible"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/label_0"

View File

@ -3,6 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:layout_weight="1"
android:orientation="horizontal">
@ -12,8 +13,9 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="#"
android:visibility="gone"/>
tools:text="#"
android:visibility="gone"
tools:visibility="visible"/>
<TextView
android:id="@+id/label_0"