Skip to content

Commit

Permalink
Fix crashing AddCustomYeastActivity!
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed May 20, 2015
1 parent 6d51bf2 commit a5073ab
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.biermacht.brews"
android:versionCode="4"
android:versionName="1.0.1" >
android:versionCode="5"
android:versionName="1.0.2" >

<uses-sdk
android:minSdkVersion="15"
Expand Down
47 changes: 47 additions & 0 deletions res/layout/alert_view_select_list.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical"
android:padding="10dip">

<CheckBox
android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/white"
android:text="Select All"
/>

<TextView
android:id="@+id/divider"
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_alignParentTop="true"
android:layout_gravity="top"
android:background="@color/divider"
android:focusable="true"
android:focusableInTouchMode="true"
android:paddingBottom="0dp"
android:paddingTop="0dp"
android:text=""
android:textColor="#fff">

<requestFocus/>
</TextView>

<ListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/transparent"
android:dividerHeight="0dp"
android:drawSelectorOnTop="true"
android:listSelector="@drawable/selector"
android:padding="0dip">
</ListView>

</LinearLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public void onCreate(Bundle savedInstanceState)
mainView.removeView(searchableListView);

// Add those we do.
mainView.addView(nameView, 0);
mainView.addView(labView);
mainView.addView(productIdView);

Expand Down

0 comments on commit a5073ab

Please sign in to comment.