This guide explains how to build custom cutout card shapes in Jetpack Compose using Shape, Path, and arcTo.
The example includes:
TopCardCutoutShapeBottomCardCutoutShape- a demo composable showing how both shapes fit together
| တောင်နဲ ့မြူ က လွမ်းအောင်ချူသောကြောင့် | |
| နဂို အလွမ်းစိတ် ငယ်ထိပ်တက်ကာ | |
| မျက်ရည် ကျမိပါသည် | |
| ဒီအချိန် သူ ့အကြောင်း | |
| စဉ်းစားရင်းအသက်ရှင် သူသိစေချင်တာကြောင် ့ | |
| FacebookSdk.sdkInitialize(this); | |
| callbackManager = CallbackManager.Factory.create(); | |
| LoginManager.getInstance() | |
| .registerCallback(callbackManager, new FacebookCallback<LoginResult>() { | |
| @Override public void onSuccess(final LoginResult loginResult) { | |
| GraphRequest request = GraphRequest.newMeRequest(loginResult.getAccessToken(), | |
| new GraphRequest.GraphJSONObjectCallback() { |
| /* | |
| * Copyright (C) 2013 Square, Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| <?xml version="1.0" encoding="utf-8"?> | |
| <selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item android:state_activated="true" android:color="#876543" /> | |
| <item android:state_selected="true" android:color="#123456" /> | |
| <item android:color="#FFFFFF" /> | |
| </selector> |
| Pattern p = Pattern.compile("[^\\u0000-\\u0080]+"); | |
| Matcher matcher6 = p.matcher(description); | |
| boolean result = matcher6.find(); | |
| if(result) | |
| { | |
| txtprice.setTypeface(font); | |
| } | |
| else | |
| { | |
| txtprice.setTypeface(regular); |
| class overload { | |
| void test() { | |
| System.out.println("No parameters"); | |
| } | |
| // Overload test for one integer parameter. | |
| void test(int a) { | |
| System.out.println("a: " + a); | |
| } | |
| // Overload test for two integer parameters. | |
| void test(int a, int b) { |
| 11-09 14:58:02.470: INFO/DEBUG(30): debuggerd: Feb 3 2011 14:45:34 | |
| 11-09 14:58:02.580: INFO/Vold(28): Vold 2.1 (the revenge) firing up | |
| 11-09 14:58:02.580: DEBUG/Vold(28): USB mass storage support is not enabled in the kernel | |
| 11-09 14:58:02.580: DEBUG/Vold(28): usb_configuration switch is not enabled in the kernel | |
| 11-09 14:58:02.590: INFO/Netd(29): Netd 1.0 starting | |
| 11-09 14:58:02.620: DEBUG/qemud(37): entering main loop | |
| 11-09 14:58:02.660: DEBUG/Vold(28): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media) | |
| 11-09 14:58:02.910: DEBUG/qemud(37): fdhandler_accept_event: accepting on fd 9 | |
| 11-09 14:58:02.910: DEBUG/qemud(37): created client 0xe078 listening on fd 10 | |
| 11-09 14:58:02.940: DEBUG/qemud(37): client_fd_receive: attempting registration for service 'boot-properties' |