MDScreen:
name:"account"
MDFloatLayout:
md_bg_color: 1, 1, 1, 1
MDIconButton:
icon: "chevron-left-circle"
pos_hint: {"center_x": .1, "center_y": .945}
user_font_size: "10sp"
theme_text_color: "Custom"
text_color: rgba(11, 69, 128, 255)
on_release:
root.manager.transition.direction = "right"
root.manager.current = "home"
MDTextButton:
text: "Back"
font_name: "MPoppins"
theme_text_color: "Custom"
font_size: "18sp"
text_color: rgba(11, 69, 128, 255)
pos_hint: {"center_x": .23, "center_y": .946}
on_release:
root.manager.transition.direction = "right"
root.manager.current = "home"
MDFloatLayout:
size_hint: .9, .09
pos_hint: {"center_x": .5, "center_y": .85}
md_bg_color: rgba(241, 241, 243, 255)
radius: [10]
Image:
source: 'assets/account_small.png'
size_hint: .5, .5
pos_hint: {"center_x": .11, "center_y": .5}
MDLabel:
text: "> Home > Account"
font_name: "MPoppins"
font_size: "15sp"
pos_hint: {"center_x": .69, "center_y": 0.5}
color: rgba(146,146,148,255)
<AccountInfo1>:
MDIcon:
icon: "card-account-details"
font_size: "18sp"
pos_hint: {'center_x': 0.13, 'center_y': 0.77}
theme_text_color: "Custom"
text_color: rgba(11, 69, 128, 255)
MDLabel:
text: "Username"
font_name: "MPoppins"
font_size: "18sp"
pos_hint: {'center_x': 0.67, 'center_y': 0.77}
color: rgba(112, 177, 220, 255)
MDFloatLayout:
size_hint: .85, .09
pos_hint: {'center_x': 0.5, 'center_y': 0.7}
canvas:
Color:
rgb: rgba(241, 241, 243, 255)
RoundedRectangle:
size: self.size
pos: self.pos
radius: [10]
MDLabel:
id: account_username
#text: root.account_username_label
#text: "Ethel"
font_name: "MPoppins"
font_size: "14sp"
size_hint: 1, None
pos_hint: {'center_x': 0.55, 'center_y': 0.5}
theme_text_color: "Custom"
text_color: rgba(55, 112, 148, 255)