cleanup
|
@ -67,8 +67,9 @@ public class PassVisualizer {
|
|||
findById(container, R.id.addCalendar).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
|
||||
if (dateForIntent == null && !(pass.getLocations().size() > 0)) {
|
||||
findById(container, R.id.actionsContainer).setVisibility(View.GONE);
|
||||
findById(container, R.id.actions_separator).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
final ImageView icon_img = findById(container, R.id.icon);
|
||||
|
|
Before Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 712 B |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 142 B |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 202 B |
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_pressed="true" android:drawable="@drawable/box_press" />
|
||||
<item android:state_selected="true" android:drawable="@drawable/box_sel" />
|
||||
<item android:state_checked="true" android:drawable="@drawable/box_sel" />
|
||||
<item android:state_activated="true" android:drawable="@drawable/box_sel" />
|
||||
<item android:drawable="@drawable/box" />
|
||||
|
||||
</selector>
|
|
@ -12,18 +12,12 @@
|
|||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/box_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/actionsContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -69,7 +63,7 @@
|
|||
android:id="@+id/categoryView"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="74dp"
|
||||
android:padding="4dp"
|
||||
android:layout_margin="4dp"
|
||||
android:layout_gravity="center" />
|
||||
<!-- <include layout="@layout/category_indicator" /> -->
|
||||
</LinearLayout>
|
||||
|
|