Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Stavor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
Stavor
Commits
3443f67c
Commit
3443f67c
authored
10 years ago
by
Xavier Gibert
Browse files
Options
Downloads
Patches
Plain Diff
tablet layouts
parent
098b5fb1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
res/layout-sw600dp-land/hud_display.xml
+213
-0
213 additions, 0 deletions
res/layout-sw600dp-land/hud_display.xml
res/layout-sw600dp/hud_display.xml
+209
-0
209 additions, 0 deletions
res/layout-sw600dp/hud_display.xml
with
422 additions
and
0 deletions
res/layout-sw600dp-land/hud_display.xml
0 → 100644
+
213
−
0
View file @
3443f67c
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/mainLayout"
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:background=
"@color/black"
android:gravity=
"top"
android:orientation=
"vertical"
>
<LinearLayout
android:id=
"@+id/simLayout"
android:layout_width=
"fill_parent"
android:layout_height=
"match_parent"
android:background=
"@color/black"
android:orientation=
"vertical"
>
</LinearLayout>
<FrameLayout
android:id=
"@+id/spinnerlayout"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
<Button
android:id=
"@+id/buttonMissionNew"
android:layout_width=
"135dp"
android:layout_height=
"wrap_content"
android:background=
"@drawable/view_selector"
android:minHeight=
"45dp"
android:text=
"@string/menu_views_ref_frame_xyz"
android:textAppearance=
"?android:attr/textAppearanceMedium"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentTop=
"true"
android:layout_marginLeft=
"3dp"
android:layout_toRightOf=
"@id/spinnerlayout"
>
<TextView
android:id=
"@+id/textViewFPS"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/fps_zero"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:textColor=
"@color/white"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
>
<cs.si.stavor.layout.WrappingSlidingDrawer
android:id=
"@+id/slidingDrawer1"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:content=
"@+id/content"
android:handle=
"@+id/handle"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/handle"
android:layout_width=
"18dp"
android:layout_height=
"200dp"
android:minHeight=
"10dp"
android:minWidth=
"256dp"
/>
<LinearLayout
android:id=
"@+id/content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/custom_border"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/textViewPanelTime"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/clock_background"
android:gravity=
"center"
android:text=
"@string/eg_sim_time"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/panel_clock"
/>
<ProgressBar
android:id=
"@+id/progressBarPanelProgress"
style=
"?android:attr/progressBarStyleHorizontal"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:max=
"100"
android:progress=
"0"
/>
<LinearLayout
android:id=
"@+id/anglesLayout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/textViewPanelRoll"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"@string/eg_roll"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelPitch"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"@string/eg_pitch"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelYaw"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"@string/eg_yaw"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/white"
/>
</LinearLayout>
<View
style=
"@style/HDivider"
android:layout_width=
"250dp"
/>
<LinearLayout
android:id=
"@+id/velLayout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/textViewPanelVel"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"@string/eg_vel"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelAccel"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1.2"
android:text=
"@string/eg_accel"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/white"
/>
</LinearLayout>
<View
style=
"@style/HDivider"
android:layout_width=
"250dp"
/>
<TextView
android:id=
"@+id/textViewPanelRadium"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/eg_radium"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:textColor=
"@color/white"
/>
<View
style=
"@style/HDivider"
android:layout_width=
"250dp"
/>
<TextView
android:id=
"@+id/textViewPanelMass"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/eg_mass"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:textColor=
"@color/white"
/>
</LinearLayout>
</cs.si.stavor.layout.WrappingSlidingDrawer>
</FrameLayout>
<FrameLayout
android:id=
"@+id/SimControlFrame"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_alignParentLeft=
"true"
>
<LinearLayout
android:id=
"@+id/controlsLayout"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<ImageButton
android:id=
"@+id/imageButtonPlay"
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:contentDescription=
"@string/dummy"
android:scaleType=
"fitCenter"
android:src=
"@drawable/play"
/>
<ImageButton
android:id=
"@+id/imageButtonStop"
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:contentDescription=
"@string/dummy"
android:scaleType=
"fitCenter"
android:src=
"@drawable/stop"
/>
</LinearLayout>
</FrameLayout>
</RelativeLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
res/layout-sw600dp/hud_display.xml
0 → 100644
+
209
−
0
View file @
3443f67c
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/mainLayout"
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:background=
"@color/black"
android:gravity=
"top"
android:orientation=
"vertical"
>
<LinearLayout
android:id=
"@+id/simLayout"
android:layout_width=
"fill_parent"
android:layout_height=
"match_parent"
android:background=
"@color/black"
android:orientation=
"vertical"
>
</LinearLayout>
<FrameLayout
android:id=
"@+id/SimControlFrame"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
>
<LinearLayout
android:id=
"@+id/controlsLayout"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<ImageButton
android:id=
"@+id/imageButtonPlay"
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:contentDescription=
"@string/dummy"
android:scaleType=
"fitCenter"
android:src=
"@drawable/play"
/>
<ImageButton
android:id=
"@+id/imageButtonStop"
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:contentDescription=
"@string/dummy"
android:scaleType=
"fitCenter"
android:src=
"@drawable/stop"
/>
</LinearLayout>
</FrameLayout>
<FrameLayout
android:id=
"@+id/spinnerlayout"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
<Button
android:id=
"@+id/buttonMissionNew"
android:layout_width=
"135dp"
android:layout_height=
"wrap_content"
android:background=
"@drawable/view_selector"
android:minHeight=
"45dp"
android:text=
"@string/menu_views_ref_frame_xyz"
android:textAppearance=
"?android:attr/textAppearanceMedium"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:layout_below=
"@id/spinnerlayout"
android:layout_marginTop=
"3dp"
>
<TextView
android:id=
"@+id/textViewFPS"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/fps_zero"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:textColor=
"@color/white"
/>
</FrameLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
>
<cs.si.stavor.layout.WrappingSlidingDrawer
android:id=
"@+id/slidingDrawer1"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"50dp"
android:layout_marginRight=
"50dp"
android:content=
"@+id/content"
android:handle=
"@+id/handle"
>
<Button
android:id=
"@+id/handle"
android:layout_width=
"wrap_content"
android:layout_height=
"16dp"
android:minHeight=
"10dp"
android:minWidth=
"256dp"
/>
<LinearLayout
android:id=
"@+id/content"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/custom_border"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/textViewPanelTime"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:background=
"@drawable/clock_background"
android:gravity=
"center"
android:text=
"@string/eg_sim_time"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/panel_clock"
/>
<ProgressBar
android:id=
"@+id/progressBarPanelProgress"
style=
"?android:attr/progressBarStyleHorizontal"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:max=
"100"
android:progress=
"0"
/>
<LinearLayout
android:id=
"@+id/anglesLayout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/textViewPanelRoll"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"fill_horizontal"
android:layout_weight=
"1"
android:text=
"@string/eg_roll"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelPitch"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"fill_horizontal"
android:layout_weight=
"1"
android:text=
"@string/eg_pitch"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelYaw"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"fill_horizontal"
android:layout_weight=
"1"
android:text=
"@string/eg_yaw"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
</LinearLayout>
<View
style=
"@style/HDivider"
/>
<LinearLayout
android:id=
"@+id/velLayout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/textViewPanelVel"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"@string/eg_vel"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
<View
style=
"@style/VDivider"
/>
<TextView
android:id=
"@+id/textViewPanelAccel"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1.2"
android:text=
"@string/eg_accel"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
</LinearLayout>
<View
style=
"@style/HDivider"
/>
<TextView
android:id=
"@+id/textViewPanelRadium"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/eg_radium"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
<View
style=
"@style/HDivider"
/>
<TextView
android:id=
"@+id/textViewPanelMass"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/eg_mass"
android:textAppearance=
"?android:attr/textAppearanceLarge"
android:textColor=
"@color/white"
/>
</LinearLayout>
</cs.si.stavor.layout.WrappingSlidingDrawer>
</FrameLayout>
</RelativeLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment