संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GridLayout
ग्रिड लेआउट लागू करें.
नया अपडेट |
रिलीज़ किया गया जांचा और परखा हुआ वर्शन |
रिलीज़ कैंडिडेट |
बीटा रिलीज़ |
ऐल्फ़ा रिलीज़ |
9 अप्रैल, 2025 |
1.1.0 |
- |
- |
- |
डिपेंडेंसी का एलान करना
GridLayout पर डिपेंडेंसी जोड़ने के लिए, आपको अपने प्रोजेक्ट में Google Maven रिपॉज़िटरी जोड़नी होगी. ज़्यादा जानकारी के लिए, Google की Maven रिपॉज़िटरी पढ़ें.
अपने ऐप्लिकेशन या मॉड्यूल के लिए, build.gradle
फ़ाइल में उन आर्टफ़ैक्ट की डिपेंडेंसी जोड़ें जिनकी आपको ज़रूरत है:
ग्रूवी
dependencies {
implementation "androidx.gridlayout:gridlayout:1.1.0"
}
Kotlin
dependencies {
implementation("androidx.gridlayout:gridlayout:1.1.0")
}
डिपेंडेंसी के बारे में ज़्यादा जानने के लिए, बिल्ड डिपेंडेंसी जोड़ना लेख पढ़ें.
सुझाव/राय दें या शिकायत करें
आपके सुझाव, शिकायत या राय से हमें Jetpack को बेहतर बनाने में मदद मिलती है. अगर आपको कोई नई समस्या मिलती है या इस लाइब्रेरी को बेहतर बनाने के लिए आपके पास कोई सुझाव है, तो हमें बताएं. नई लाइब्रेरी बनाने से पहले, कृपया इस लाइब्रेरी में मौजूद मौजूदा समस्याओं पर एक नज़र डालें. किसी मौजूदा समस्या पर अपना वोट जोड़ने के लिए, स्टार बटन पर क्लिक करें.
नई समस्या बनाना
ज़्यादा जानकारी के लिए, समस्या ट्रैकर का दस्तावेज़ देखें.
इस आर्टफ़ैक्ट के लिए रिलीज़ नोट उपलब्ध नहीं हैं.
वर्शन 1.1
वर्शन 1.1.0
9 अप्रैल, 2025
androidx.gridlayout:gridlayout:1.1.0
रिलीज़ हो गया है. वर्शन 1.1.0 में ये कमिट शामिल हैं.
1.0.0 के बाद किए गए अहम बदलाव
androidx.legacy
लाइब्रेरी पर निर्भरता हटा दी गई है. साथ ही, GridLayout में लेगसी Space
क्लास के लिए सहायता हटा दी गई है. डेवलपर को androidx.legacy
वर्शन के बजाय, Space
(android.widget.Space
) क्लास के प्लैटफ़ॉर्म वर्शन का इस्तेमाल करना चाहिए.
वर्शन 1.1.0-rc01
26 मार्च, 2025
androidx.gridlayout:gridlayout:1.1.0-rc01
रिलीज़ हो गया है. वर्शन 1.1.0-rc01 में ये कमिट शामिल हैं.
वर्शन 1.1.0-beta01
24 मई, 2023
androidx.gridlayout:gridlayout:1.1.0-beta01
को बिना किसी बदलाव के रिलीज़ किया जाता है. 1.1.0-beta01 वर्शन में ये बदलाव शामिल हैं.
वर्शन 1.1.0-alpha01
22 मार्च, 2023
androidx.gridlayout:gridlayout:1.1.0-alpha01
रिलीज़ हो गया है. 1.1.0-alpha01 वर्शन में ये बदलाव शामिल हैं.
नई सुविधाएं
androidx.legacy
लाइब्रेरी पर डिपेंडेंसी हटाएं और GridLayout में लेगसी Space
क्लास के लिए सहायता हटाएं. डेवलपर को androidx.legacy
वर्शन के बजाय, Space class के प्लैटफ़ॉर्म वर्शन का इस्तेमाल करना चाहिए.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# GridLayout\n==========\n\n[Code Sample](https://github.com/android/views-widgets-samples/blob/master/ConstraintLayoutExamples/CycleEditor/src/com/google/androidstudio/motionlayoutcycles/MainPanel.java) \nAPI Reference \n[androidx.gridlayout.widget](/reference/kotlin/androidx/gridlayout/widget/package-summary) \nImplement a grid layout. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|---------------|------------------------------------------------------|-------------------|--------------|---------------|\n| April 9, 2025 | [1.1.0](/jetpack/androidx/releases/gridlayout#1.1.0) | - | - | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on GridLayout, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n implementation \"androidx.gridlayout:gridlayout:1.1.0\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n implementation(\"androidx.gridlayout:gridlayout:1.1.0\")\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:460990%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=460990&template=1422598)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nThere are no release notes for this artifact.\n\nVersion 1.1\n-----------\n\n### Version 1.1.0\n\nApril 9, 2025\n\n`androidx.gridlayout:gridlayout:1.1.0` is released. Version 1.1.0 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/d97f11014f7445681568d955387d895e87f584b2..1ae17d5f1e991c672971ab50949feecb75d1e557/gridlayout/gridlayout).\n\n**Important changes since 1.0.0**\n\n- Removed dependency on `androidx.legacy` library and dropped support for legacy `Space` class in GridLayout. Developers should be using the platform version of `Space` (`android.widget.Space`) class instead of the `androidx.legacy` version.\n\n### Version 1.1.0-rc01\n\nMarch 26, 2025\n\n`androidx.gridlayout:gridlayout:1.1.0-rc01` is released. Version 1.1.0-rc01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/c5bf9bc40dd5d9f0b3f34e7273ac0d4e4f05c41d..d97f11014f7445681568d955387d895e87f584b2/).\n\n### Version 1.1.0-beta01\n\nMay 24, 2023\n\n`androidx.gridlayout:gridlayout:1.1.0-beta01` is released with no changes. [Version 1.1.0-beta01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/5e7d256f82fbafb6d059ab7b18fddd87c7531553..c5bf9bc40dd5d9f0b3f34e7273ac0d4e4f05c41d/gridlayout/gridlayout)\n\n### Version 1.1.0-alpha01\n\nMarch 22, 2023\n\n`androidx.gridlayout:gridlayout:1.1.0-alpha01` is released. [Version 1.1.0-alpha01 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/5e7d256f82fbafb6d059ab7b18fddd87c7531553/gridlayout/gridlayout)\n\n**New Features**\n\n- Remove dependency on `androidx.legacy` library and drop support for legacy `Space` class in GridLayout. Developers should be using the platform version of Space class instead of the `androidx.legacy` version."]]