Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

David Sarker - Testing App for Accessibility Lab #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions solution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
''' xml
<!-- signup_fragment.xml -->

<ImageView
android:contentDescription="Blazon Logo"/>

<ImageButton
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@android:color/transparent"
android:id="@+id/facebook_button"
android:src="@drawable/facebook"
android:contentDescription="Sign up with your Facebook account."/>

<ImageButton
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:id="@+id/twitter_button"
android:src="@drawable/twitter"
android:background="@android:color/transparent"
android:contentDescription="Sign up with your Twitter account."/>

<ImageButton
android:id="@+id/googleplus_button"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/google"
android:background="@android:color/transparent"
android:contentDescription="Sign up with your Google Plus account."/>

<!-- End of signup_fragment.xml -->


<!-- In pie_chart_fragment.xml -->
<net.steamcrafted.materialiconlib.MaterialIconView
android:id="@+id/next"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentEnd="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_marginEnd="15dp"
app:materialIcon="arrow_right_bold"
app:materialIconColor="#ffffff"
android:contentDescription="Go to bar chart"/>
<!-- End pie_chart_fragment.xml -->



<!-- In bar_chart_fragment.xml -->
<net.steamcrafted.materialiconlib.MaterialIconView
android:id="@+id/back"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginStart="10dp"
app:materialIcon="arrow_left_bold"
app:materialIconColor="#ffffff"
android:contentDescription="Go to pie chart"/>
<!-- End bar_chart_fragment.xml -->

'''
3 changes: 2 additions & 1 deletion starter-code/app/src/main/res/layout/bar_chart_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
android:layout_marginStart="10dp"
app:materialIcon="arrow_left_bold"
app:materialIconColor="#ffffff"
/>
android:contentDescription="Go to pie chart"/>


<TextView
android:id="@+id/instances"
Expand Down
6 changes: 4 additions & 2 deletions starter-code/app/src/main/res/layout/pie_chart_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
android:layout_marginTop="17dp"
android:text="@string/total_instances"
android:textColor="@color/text_white"
android:textSize="18sp" />
android:textSize="18sp"
/>

<net.steamcrafted.materialiconlib.MaterialIconView
android:id="@+id/next"
Expand All @@ -68,7 +69,8 @@
android:layout_marginEnd="15dp"
app:materialIcon="arrow_right_bold"
app:materialIconColor="#ffffff"
/>
android:contentDescription="Go to bar chart"/>


</RelativeLayout>

Expand Down
8 changes: 4 additions & 4 deletions starter-code/app/src/main/res/layout/signup_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
android:layout_gravity="center"
android:layout_marginBottom="25dp"
android:src="@drawable/logo_large"
android:contentDescription="@string/app_logo"/>
android:contentDescription="Blazon Logo"/>

<TextView
android:id="@+id/blazon"
Expand Down Expand Up @@ -70,7 +70,7 @@
android:background="@android:color/transparent"
android:id="@+id/facebook_button"
android:src="@drawable/facebook"
/>
android:contentDescription="Sign up with your Facebook account."/>

<ImageButton
android:layout_width="0dp"
Expand All @@ -81,7 +81,7 @@
android:id="@+id/twitter_button"
android:src="@drawable/twitter"
android:background="@android:color/transparent"
/>
android:contentDescription="Sign up with your Twitter account."/>

<ImageButton
android:id="@+id/googleplus_button"
Expand All @@ -90,7 +90,7 @@
android:layout_weight="1"
android:src="@drawable/google"
android:background="@android:color/transparent"
/>
android:contentDescription="Sign up with your Google Plus account."/>

</LinearLayout>
</LinearLayout>