Sumber : https://blog.sekolahmobile.com/membuat-aplikasi-kalkulator-di-android-dengan-kotlin/ 1. Tambahkan pada gradle implementation 'net.objecthunter:exp4j:0.4.8' 2. Buat file dimens.xml di values <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="text_result_calculator">56sp</dimen> <dimen name="activity_padding">24dp</dimen> <dimen name="button_calculator">78dp</dimen> <dimen name="button_margin">16dp</dimen> <dimen name="radius_button">16dp</dimen> <dimen name="textSize_button">24sp</dimen> </resources> 3. Menambah warna pada colors.xml <?xml version="1.0" encoding="utf-8"?> <resources> <color name="purple_200">#FFBB86FC</color> <color name="purple_500">#FF6200EE</color> <color n
Komputer, Teknologi, dan Bisnis