Commit 399c0d33 authored by topjohnwu's avatar topjohnwu

Small fix

parent 856eb479
...@@ -108,6 +108,7 @@ public class ModulesFragment extends Fragment { ...@@ -108,6 +108,7 @@ public class ModulesFragment extends Fragment {
emptyTv.setVisibility(View.VISIBLE); emptyTv.setVisibility(View.VISIBLE);
recyclerView.setVisibility(View.GONE); recyclerView.setVisibility(View.GONE);
} else { } else {
emptyTv.setVisibility(View.GONE);
recyclerView.setVisibility(View.VISIBLE); recyclerView.setVisibility(View.VISIBLE);
recyclerView.setAdapter(new ModulesAdapter(listModules)); recyclerView.setAdapter(new ModulesAdapter(listModules));
} }
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:maxLines="1"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingStart="3dp" android:paddingStart="3dp"
android:textStyle="bold"/> android:textStyle="bold"/>
......
...@@ -111,19 +111,6 @@ ...@@ -111,19 +111,6 @@
tools:ignore="ContentDescription"/> tools:ignore="ContentDescription"/>
</LinearLayout> </LinearLayout>
<!--TODO - Work in an auto-update notifier, make this fly around like magic -->
<!--<ImageView-->
<!--android:id="@+id/update"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:focusable="false"-->
<!--android:gravity="right"-->
<!--android:background="@drawable/ic_file_download_black"-->
<!--android:layout_marginEnd="10dp"-->
<!--android:layout_gravity="right"-->
<!--android:layout_alignBaseline="@id/title"-->
<!--android:layout_alignParentEnd="true"-->
<!--/>-->
</RelativeLayout> </RelativeLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment