Skip to content

Commit

Permalink
final changes maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasper3 committed Feb 27, 2016
1 parent 43edbd0 commit c52c9f0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public View getView(int position, View v, ViewGroup parent) {
channel.setText(episode.getChannel());
} else {
view.setMinimumHeight(Utility.convertDpToPx(context.getWindowManager().getDefaultDisplay(), 10));
date.setVisibility(View.GONE);
name.setVisibility(View.GONE);
}

return view;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<AutoCompleteTextView android:id="@+id/email" android:layout_width="match_parent"
android:layout_height="wrap_content" android:hint="@string/prompt_email"
android:inputType="textEmailAddress" android:maxLines="1"
android:text="threeMuchSwag@swagoverflow.com"
android:text="3MuchSwag@swagoverflow.com"
android:singleLine="true" />

</android.support.design.widget.TextInputLayout>
Expand Down
20 changes: 9 additions & 11 deletions android/AndroidClient/app/src/main/res/layout/layout_event.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,25 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/thumbnail"
android:layout_toLeftOf="@+id/channel"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:layout_marginRight="16dp"
android:layout_gravity="center_horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
android:id="@+id/name" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/channel" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -40,14 +48,4 @@
android:id="@+id/date" />
</LinearLayout>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/channel" />
</RelativeLayout>

0 comments on commit c52c9f0

Please sign in to comment.