mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 09:36:29 +03:00
118 lines
8.8 KiB
XML
118 lines
8.8 KiB
XML
<vbox layout_width="match_parent" layout_height="match_parent">
|
|
<TabWidget layout_width="match_parent" layout_height="match_parent">
|
|
<hbox id="test_1" layout_width="match_parent" layout_height="match_parent">
|
|
<vbox id="lvbox" layout_width="match_parent" layout_weight="0.5" layout_height="match_parent">
|
|
<TextView id="tpad" layout_width="wrap_content" layout_height="wrap_content" text="testing padding" />
|
|
<TextView id="tpad2" layout_width="wrap_content" layout_height="wrap_content" text="testing padding" gravity="center" />
|
|
<TextView id="tpad3" layout_width="wrap_content" layout_height="wrap_content" text="testing things" />
|
|
<CheckBox id="chbox" layout_width="wrap_content" layout_height="wrap_content" text="testing padding" />
|
|
<RadioButton id="rdbut" layout_width="wrap_content" layout_height="wrap_content" text="testing padding"/>
|
|
<TextInput id="tinput" layout_width="300dp" layout_height="wrap_content" text="testing padding" />
|
|
<Image id="tres" layout_width="32dp" layout_height="32dp" src="file://assets/tiles/1.png" scale-type="fit_inside" />
|
|
<hbox layout_width="match_parent" layout_height="wrap_content">
|
|
<Image class="tres2" layout_width="32dp" layout_height="32dp" src="https://raw.githubusercontent.com/SpartanJ/eepp/develop/bin/assets/icon/ee.png" scale-type="fit_inside" />
|
|
<Image class="tres2" layout_width="32dp" layout_height="32dp" src="https://raw.githubusercontent.com/SpartanJ/eepp/develop/bin/assets/sprites/2.png" scale-type="fit_inside" />
|
|
<Image class="tres2" layout_width="32dp" layout_height="32dp" src="https://raw.githubusercontent.com/SpartanJ/eepp/develop/bin/assets/sprites/3.png" scale-type="fit_inside" />
|
|
<Image class="tres2" layout_width="32dp" layout_height="32dp" src="https://raw.githubusercontent.com/SpartanJ/eepp/develop/bin/assets/sprites/4.png" scale-type="fit_inside" />
|
|
<Image class="tres2" layout_width="32dp" layout_height="32dp" src="file://assets/icon/ee.png" scale-type="fit_inside" />
|
|
</hbox>
|
|
<DropDownList class="list" layout_width="300dp" layout_height="wrap_content" text="testing padding">
|
|
<item>Test</item>
|
|
<item>Test 2</item>
|
|
<item>Test 3</item>
|
|
</DropDownList>
|
|
<ComboBox class="list" layout_width="300dp" layout_height="wrap_content" text="testing padding">
|
|
<item>Test</item>
|
|
<item>Test 2</item>
|
|
<item>Test 3</item>
|
|
</ComboBox>
|
|
<TextView id="tviewl" layout_width="match_parent" layout_height="wrap_content" text="testing match_parent" gravity="center" />
|
|
</vbox>
|
|
<vbox id="rvbox" layout_width="match_parent" layout_weight="0.5" layout_height="match_parent">
|
|
<RelativeLayout id="rrl" layout_width="match_parent" layout_height="match_parent">
|
|
<Widget class="real_back" layout_width="match_parent" layout_height="match_parent" />
|
|
<Widget class="back" />
|
|
<TextView id="tmap" layout_width="match_parent" layout_height="match_parent" text="testing match_parent" gravity="center" />
|
|
<TextView class="eltv" id="el1" layout_width="wrap_content" layout_height="wrap_content" text="testing padding" />
|
|
<TextView class="eltv" id="el2" layout_width="wrap_content" layout_height="wrap_content" text="testing margin" layout_gravity="top|right" />
|
|
<TextView class="eltv" id="tm" layout_width="wrap_content" layout_height="wrap_content" text="testing margin" layout_gravity="bottom|left" />
|
|
<TextView class="eltv" id="tmp" layout_width="wrap_content" layout_height="wrap_content" text="testing margin padding" layout_gravity="bottom|right" />
|
|
<!-- <Loader layout_width="350dp" layout_height="350dp" layout_gravity="center" fill-color="#999" padding="44dp" outline-thickness="8dp" /> -->
|
|
|
|
<PushButton layout_width="wrap_content" layout_height="wrap_content" text="testing padding" layout_gravity="bottom|right" gravity="center" padding="8dp" layout_to_top_of="tmp" />
|
|
<PushButton id="pbut" text="OK!" font-size="16dp" icon="ok" layout_gravity="left|bottom"
|
|
gravity="center" layout_width="wrap_content" layout_height="wrap_content"
|
|
margin-bottom="8dp" padding="8dp" layout_to_top_of="tm" />
|
|
|
|
<Slider id="slider" orientation="horizontal" half-slider="true" layout_width="200dp" layout_height="wrap_content" layout_to_bottom_of="el1" />
|
|
|
|
<ScrollBar id="scrollbar" orientation="horizontal" layout_width="200dp" layout_height="wrap_content" layout_to_bottom_of="slider" />
|
|
|
|
<SpinBox id="spinbox" layout_width="200dp" layout_height="wrap_content" layout_to_bottom_of="scrollbar" />
|
|
|
|
<TextInput id="spinbox" layout_width="200dp" layout_height="wrap_content" layout_to_bottom_of="spinbox" text="test" margin-top="8dp" input-mode="password" />
|
|
|
|
<TextEdit layout_width="200dp" layout_height="50dp" layout_gravity="bottom|center_horizontal" />
|
|
</RelativeLayout>
|
|
</vbox>
|
|
</hbox>
|
|
<hbox id="test_2" layout_width="match_parent" layout_height="match_parent">
|
|
<RelativeLayout id="rtest" layout_width="match_parent" layout_height="match_parent">
|
|
<TextView id="rttv" layout_width="wrap_content" layout_height="wrap_content" text="Hello World!" layout_gravity="center" />
|
|
</RelativeLayout>
|
|
</hbox>
|
|
<hbox id="test_3" layout_width="match_parent" layout_height="match_parent">
|
|
<RelativeLayout class="rooter" layout_width="300dp" layout_height="300dp">
|
|
<RelativeLayout class="outer" layout_width="100dp" layout_height="100dp">
|
|
<RelativeLayout class="inner" layout_width="50dp" layout_height="50dp"></RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</hbox>
|
|
<vbox id="test_4" layout_width="match_parent" layout_height="match_parent">
|
|
<RelativeLayout layout_width="match_parent" layout_height="32dp"><TextView layout_width="wrap_content" layout_height="wrap_content" text="Home" /></RelativeLayout>
|
|
<RelativeLayout layout_width="match_parent" layout_height="32dp"><TextView layout_width="wrap_content" layout_height="wrap_content" text="News" /></RelativeLayout>
|
|
<RelativeLayout layout_width="match_parent" layout_height="32dp"><TextView layout_width="wrap_content" layout_height="wrap_content" text="Contact" /></RelativeLayout>
|
|
<RelativeLayout layout_width="match_parent" layout_height="32dp"><TextView layout_width="wrap_content" layout_height="wrap_content" text="FAQ" /></RelativeLayout>
|
|
<RelativeLayout layout_width="match_parent" layout_height="32dp"><TextView layout_width="wrap_content" layout_height="wrap_content" text="About Us" /></RelativeLayout>
|
|
</vbox>
|
|
<ScrollView id="test_5" layout_width="match_parent" layout_height="match_parent">
|
|
<vbox class="ll" layout_width="match_parent" layout_height="wrap_content">
|
|
<TextView text="Test 1" /><TextView text="Test 2" /><TextView text="Test 3" /><TextView text="Test 4" /><TextView text="Test 5" /><TextView text="Test 6" />
|
|
<TextView text="Test 7" /><TextView text="Test 8" /><TextView text="Test 9" /><TextView text="Test 10" /><TextView text="Test 11" /><TextView text="Test 12" />
|
|
<TextView text="Test 13" /><TextView text="Test 14" /><TextView text="Test 15" /><TextView text="Test 16" /><TextView text="Test 17" /><TextView text="Tes 18" />
|
|
<TextView text="Test 19" /><TextView text="Test 20" /><TextView text="Test 21" /><TextView text="Test 22" /><TextView text="Test 23" /><TextView text="Test 24" />
|
|
</vbox>
|
|
</ScrollView>
|
|
<GridLayout id="test_6" column-mode="size" row-mode="size" column-width="64dp" row-height="64dp" layout_width="match_parent" layout_height="wrap_content">
|
|
<Image src="file://assets/tiles/1.png" />
|
|
<Image src="file://assets/tiles/2.png" />
|
|
<Image src="file://assets/tiles/3.png" />
|
|
<Image src="file://assets/tiles/4.png" />
|
|
<Image src="file://assets/tiles/5.png" />
|
|
<Image src="file://assets/tiles/6.png" />
|
|
</GridLayout>
|
|
<ViewPager id="test_7" layout_width="match_parent" layout_height="match_parent">
|
|
<Image src="file://assets/sprites/1.png" scale-type="expand" />
|
|
<Image src="file://assets/sprites/2.png" scale-type="expand" />
|
|
<Image src="file://assets/sprites/3.png" scale-type="expand" />
|
|
<Image src="file://assets/sprites/4.png" scale-type="expand" />
|
|
</ViewPager>
|
|
<ViewPager id="test_8" layout_width="match_parent" layout_height="match_parent">
|
|
<hbox>
|
|
<Widget layout_width="match_parent" layout_height="match_parent" />
|
|
<Widget layout_width="match_parent" layout_height="match_parent" />
|
|
<Widget layout_width="match_parent" layout_height="match_parent" />
|
|
<Widget layout_width="match_parent" layout_height="match_parent" />
|
|
</hbox>
|
|
</ViewPager>
|
|
<Tab text="Padding Test" owns="test_1" />
|
|
<Tab text="Tabs Test" owns="test_2" />
|
|
<Tab text="Cascade Test" owns="test_3" />
|
|
<Tab text="Hover Test" owns="test_4" />
|
|
<Tab text="Scroll Test" owns="test_5" />
|
|
<Tab text="Grid Test" owns="test_6" />
|
|
<Tab text="View Pager Test" owns="test_7" />
|
|
<Tab text="MinMax Size Test" owns="test_8" />
|
|
</TabWidget>
|
|
</vbox>
|