Enum android_manifest::UiOptions
source · pub enum UiOptions {
None,
SplitActionBarWhenNarrow,
}
Expand description
Extra options for an activity’s UI.
Variants§
None
No extra UI options. This is the default
SplitActionBarWhenNarrow
Add a bar at the bottom of the screen to display action items in the app bar (also known as the action bar), when constrained for horizontal space (such as when in portrait mode on a handset). Instead of a small number of action items appearing in the app bar at the top of the screen, the app bar is split into the top navigation section and the bottom bar for action items. This ensures a reasonable amount of space is made available not only for the action items, but also for navigation and title elements at the top. Menu items are not split across the two bars; they always appear together.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UiOptions
impl<'de> Deserialize<'de> for UiOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<UiOptions> for UiOptions
impl PartialEq<UiOptions> for UiOptions
source§impl YaDeserialize for UiOptions
impl YaDeserialize for UiOptions
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for UiOptions
impl YaSerialize for UiOptions
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl Eq for UiOptions
impl StructuralEq for UiOptions
impl StructuralPartialEq for UiOptions
Auto Trait Implementations§
impl RefUnwindSafe for UiOptions
impl Send for UiOptions
impl Sync for UiOptions
impl Unpin for UiOptions
impl UnwindSafe for UiOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more