TRACKING APP: button update

This commit is contained in:
Lukas Zielinski committed 2014-12-03 12:21:28 +01:00
1 parent 16dfdeb513
commit e4379d34bf
5 files changed
+26 -16

No files matched your search

@@ -0,0 +1,12 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="#00FFFFFF" />
<stroke
android:width="1dip"
android:color="#ffffff" />
<corners android:radius="0dip" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

@@ -111,16 +111,15 @@
android:layout_height="wrap_content"
android:layout_above="@+id/competitor_info_layout"
android:layout_toRightOf="@+id/add_photo"
android:background="@drawable/background_lighter_box"
android:background="@drawable/background_transparent_box"
android:orientation="horizontal"
android:padding="5dp" >
android:padding="0dp" >
<ImageButton
android:id="@+id/change_photo_button"
android:layout_width="25dp"
android:layout_height="25dp"
android:background="@android:color/transparent"
android:src="@android:drawable/ic_menu_edit" />
<Button
android:id="@+id/change_photo_button"
android:layout_width="35dp"
android:layout_height="35dp"
android:background="@drawable/stift" />
</LinearLayout>
</RelativeLayout>
@@ -96,16 +96,15 @@
android:layout_alignParentRight="true"
android:layout_marginBottom="15dp"
android:layout_marginRight="15dp"
android:background="@drawable/background_lighter_box"
android:orientation="horizontal"
android:padding="5dp" >
android:background="@drawable/background_transparent_box"
android:padding="0dp" >
<ImageButton
<Button
android:id="@+id/change_photo_button"
android:layout_width="25dp"
android:layout_height="25dp"
android:background="@android:color/transparent"
android:src="@android:drawable/ic_menu_edit" />
android:layout_width="35dp"
android:layout_height="35dp"
android:background="@drawable/stift" />
</LinearLayout>
<View
@@ -51,7 +51,7 @@ public class RegattaFragment extends BaseFragment implements OnClickListener {
.findViewById(R.id.start_tracking);
startTrackingButton.setOnClickListener(this);
ImageButton changePhotoButton = (ImageButton) view
Button changePhotoButton = (Button) view
.findViewById(R.id.change_photo_button);
changePhotoButton.setOnClickListener(this);