Minor fixes
This commit is contained in:
parent
162ace2858
commit
35c1355de2
@ -87,7 +87,7 @@ public class SurveillanceFragment extends Fragment implements MediaPlayer.EventL
|
|||||||
} else {
|
} else {
|
||||||
// Cameras are less than the maximum number of cells in grid: fill remaining cells with empty views
|
// Cameras are less than the maximum number of cells in grid: fill remaining cells with empty views
|
||||||
View ev = new View(getContext());
|
View ev = new View(getContext());
|
||||||
ev.setBackgroundColor(Color.BLUE);
|
ev.setBackgroundColor(getResources().getColor(R.color.purple_500));
|
||||||
LinearLayout.LayoutParams evParams = new LinearLayout.LayoutParams(
|
LinearLayout.LayoutParams evParams = new LinearLayout.LayoutParams(
|
||||||
0,
|
0,
|
||||||
LinearLayout.LayoutParams.MATCH_PARENT,
|
LinearLayout.LayoutParams.MATCH_PARENT,
|
||||||
|
@ -12,7 +12,10 @@
|
|||||||
android:id="@+id/stream_url"
|
android:id="@+id/stream_url"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/add_stream_placeholder_url"/>
|
android:hint="@string/add_stream_placeholder_url"
|
||||||
|
android:lines="1"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:inputType="textUri"/>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/save"
|
android:id="@+id/save"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:context=".ui.AddStreamFragment">
|
tools:context=".ui.AddStreamFragment"
|
||||||
|
android:background="@color/purple_500">
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user