---
title: Attributes
url: 'https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide/attributes'
markdown: 'https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide/attributes.md'
date: '2026-09-25'
description: 'This page contains an implementation report of Android attributes. todo:'
---

[](#)  [ Home ](https://www.twelvetone.tv/docs/)     [ Operating Systems ](https://www.twelvetone.tv/docs/operating-systems)     [ Vaandroid ](https://www.twelvetone.tv/docs/operating-systems/vaandroid)     [ Vaandroid Developer Guide ](https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide)      Attributes    

# Attributes

This page contains an implementation report of Android attributes.

todo: WE need columns for XML, Object, and AttributeSet 

# View

## Gravity (gravity)

|  |  |
|---|---|
| top | x |
| bottom | x |
| left | x |
| right | ? |
| center | ? |
| center\_horizontal | ? |
| center\_vertical | ? |

## Layout Gravity (layout\_gravity)

|  |  |
|---|---|
| top | x |
| bottom | x |
| left | x |
| right | x |
| center | x |
| center\_horizontal | x |
| center\_vertical | x |

## General

|  |
|---|
| ID (id) |
| Width (layout\_width) |
| Height (layout\_height) |

## Padding and Margin

| Padding |  |  |
|---|---|---|
| padding | x |
| paddingLeft | x |
| paddingRight | x |
| paddingTop | x |
| paddingBottom | x |

| Margin |  |  |
|---|---|---|
| layout\_marginLeft | x |
| layout\_marginRight | x |
| layout\_marginTop | x |
| layout\_marginBottom | x |

Color onclick Background Color Text (text) EMs (EMD) Relative Layout Align Parent Top, Left, Right Bottom Align Top, Left, Bottom, Right Center Horizontal Below, Above, Left, Right (layout\_below)

# TextView

```
card_view:cardBackgroundColor
card_view:cardElevation
card_view:cardCornerRadius
android:checkMark (CheckedTextView)
textSize
px
pt
in
mm
dp
sp
textColor
textStyle
normal
bold
italic
bold | italic
typeFace
normal
serif
sans
monospace
textFamily
hint
```

# Menu

\[http:// developer.android. com/guide/topics/ resources/menuresource. html\]

```
@title x
@icon x
@on<x>click
@orderInCategory x
@showAsAction x
@checkable
@visible
@enabled
@menuCategory
group x
String
Style
Typed Array
PagerAdapter x
FragmentPagerAdapter x
FragmentStatePagerAdapter o
MySqlCursor x
System Applications
Manifest
OS
Bundle
BaseBundle
Parcelable
```

# Activity

```
<activity android:allowEmbedded=["true" | "false"]
android:allowTaskReparenting=["true" | "false"]
android:alwaysRetainTaskState=["true" | "false"]
android:autoRemoveFromRecents=["true" | "false"]
android:banner="drawable resource"
android:clearTaskOnLaunch=["true" | "false"]
android:configChanges=["mcc", "mnc", "locale",
"touchscreen", "keyboard", "keyboardHidden",
"navigation", "screenLayout", "fontScale",
"uiMode", "orientation", "screenSize",
"smallestScreenSize"]
android:documentLaunchMode=["intoExisting" | "always" |
"none" | "never"]
android:enabled=["true" | "false"]
android:excludeFromRecents=["true" | "false"]
android:exported=["true" | "false"]
android:finishOnTaskLaunch=["true" | "false"]
android:hardwareAccelerated=["true" | "false"]
android:icon="drawable resource"
android:label="string resource"
android:launchMode=["standard" | "singleTop" |
"singleTask" | "singleInstance"]
android:maxRecents="integer"
android:multiprocess=["true" | "false"]
android:name="string"
android:noHistory=["true" | "false"]
android:parentActivityName="string"
android:permission="string"
android:process="string"
android:relinquishTaskIdentity=["true" | "false"]
android:screenOrientation=["unspecified" | "behind" |
"landscape" | "portrait" |
"reverseLandscape" | "reversePortrait" |
"sensorLandscape" | "sensorPortrait" |
"userLandscape" | "userPortrait" |
"sensor" | "fullSensor" | "nosensor" |
"user" | "fullUser" | "locked"]
android:stateNotNeeded=["true" | "false"]
android:taskAffinity="string"
android:theme="resource or theme"
android:uiOptions=["none" | "splitActionBarWhenNarrow"]
android:windowSoftInputMode=["stateUnspecified",
"stateUnchanged", "stateHidden",
"stateAlwaysHidden", "stateVisible",
"stateAlwaysVisible", "adjustUnspecified",
"adjustResize", "adjustPan"] >
</activity>
```

---

## Navigation

- Parent: [Vaandroid Developer Guide](https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide.md)
- Previous: [Run At](https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide/run-at.md)
- Next: [Resources](https://www.twelvetone.tv/docs/operating-systems/vaandroid/vaandroid-developer-guide/resources.md)
