Skip to content

Instantly share code, notes, and snippets.

@lokeshsuryan
Created October 1, 2021 07:00
Show Gist options
  • Save lokeshsuryan/cc82cb670a05246c3a487596faca7220 to your computer and use it in GitHub Desktop.
Save lokeshsuryan/cc82cb670a05246c3a487596faca7220 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<DirectionalLayout
xmlns:ohos="http://schemas.huawei.com/res/ohos"
ohos:id="$+id:root_layout"
ohos:height="match_parent"
ohos:padding="30px"
ohos:width="match_parent"
ohos:orientation="vertical">
<Button
ohos:id="$+id:take_photo"
ohos:height="match_content"
ohos:width="match_parent"
ohos:padding="10vp"
ohos:text_size="25fp"
ohos:text_alignment="left"
ohos:text="$string:take_photo"
ohos:background_element="$graphic:button_background"
ohos:element_end="$media:arrow_next_right_icon"/>
<Button
ohos:id="$+id:video_record"
ohos:height="match_content"
ohos:top_margin="30vp"
ohos:padding="10vp"
ohos:text_alignment="left"
ohos:text_size="25fp"
ohos:width="match_parent"
ohos:text="$string:video_record"
ohos:background_element="$graphic:button_background"
ohos:element_end="$media:arrow_next_right_icon"/>
</DirectionalLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment