Created
August 9, 2020 09:53
-
-
Save kaustubhgupta/57b6a77aee307f1592dfb17fcfd1d92f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivymd.app import MDApp | |
from kivy.lang import Builder | |
kv = """ | |
Screen: | |
MDTextField: | |
hint_text: 'Enter you password' | |
helper_text: 'Forgot your password?' | |
helper_text_mode: "on_focus" | |
pos_hint: {'center_x': 0.5, 'center_y': 0.5} | |
size_hint_x: None | |
width: 300 | |
icon_right: "account-search" | |
required: True | |
""" | |
class Main(MDApp): | |
def build(self): | |
return Builder.load_string(kv) | |
Main().run() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment