From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<syntaxhighlight lang="xml"> <?xml version="1.0" encoding="utf-8"?> <FrameLayout android:layout_height="wrap_content" android:layout_width="match_parent" android:paddingRig...")
 
m (added category)
 
Line 1: Line 1:
 +
[[Category:XML_files]]
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
 
<?xml version="1.0" encoding="utf-8"?>
 
<?xml version="1.0" encoding="utf-8"?>

Latest revision as of 21:22, 12 July 2017

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
	android:layout_height="wrap_content"
	android:layout_width="match_parent"
	android:paddingRight="20dp">

<LinearLayout
	android:layout_height="wrap_content"
	android:layout_width="match_parent"
	android:orientation="horizontal">

    <TextView
        android:id="@+id/rowId"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="gone" />

	<TextView
		android:id="@+id/meter_number"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginLeft="20dp"
		android:textColor="#0179bb"
		android:textStyle="bold"
		android:textSize="40sp" />

	<TextView
		android:id="@+id/meter_meterGroupText"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginLeft="20dp"
		android:textColor="#0179bb"
		android:textStyle="bold"
		android:textSize="40sp" />

	<Button
		android:id="@+id/icon_edit"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:background="@drawable/iconEdit"
		gn:setBackgroundPressed="@drawable/iconEditPressed"
		gn:act_setClick="[gn:act_copyDataFromRow]|[@+id/rowId,@+id/selectedRowId]" />
			 					
</LinearLayout>	
</FrameLayout>